package com.my.simple.service;

import org.springframework.stereotype.Service;

@Service
public class TestService {

    public void divideZero(){
        int a = 0;
        int b= 1/a;
    }

    public void callZero(){
        divideZero();
    }

    public void callException(){
        int a =11;
        throw new RuntimeException("call exception info");
    }
}
